How to solve a machine learning problem